package com.mx.web;


import com.mx.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author cyf
 * @since 2018-11-21
 */
@Controller
public class OrderController {

    @Autowired
    private TestService testService;

    @GetMapping("/get")
    @ResponseBody
    public String get(){
        testService.testGet();
        return "success";
    }


}
